package com.imagecollector.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *
 * /**
 *  * <p>
 *  *
 *  * </p>
 *  *
 *  @author ljx
 *  @since 2024-06-21
 *  */
@Data
/*当用到@ConfigurationProperties注解时，此注解一定要加，不然程序就会报错*/
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliYunOssProperties {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
}
